package com.scpii.universal.pns.dto;

import java.util.Date;
import java.util.List;

import com.scpii.universal.pns.entity.UserLinks;

public class ClientUserDto {

	private Long userId;

	private String userName;

	private String password;

	private String userAilas;

	private String userType;

	private Long appId;

	private String avatar;

	private Date createDt;

	private Long rankPoint = 0L;

	private Short rankId = 0;

	private String lastLoginDt;

	private Date lastActivityDt;

	private String lastActivityDtStart;

	private String lastActivityDtEnd;

	private String deviceType;

	private String[] deviceModel;

	private String provider;

	// 用户社交账号
	private List<UserLinks> ulks;

	private List<Long> userIds;

	// 用户数据统计
	private Integer commentCount = 0;
	private Integer orderCount = 0;
	private Integer favCount = 0;
	private Integer pointCount = 0;
	private Integer allCount = 0;
	private Integer replayCount = 0;
	private Integer activiJoinCount = 0;
	private Integer ecFavCount = 0;
	private Integer ecOrderCount = 0;
	private Integer ecProductCount = 0;

	public ClientUserDto() {
		super();
	}

	public ClientUserDto(Long userId, String userName, Date createDt,
			String userType, String userAilas, String avatar,
			Date lastActivityDt, Short rankId, Long rankPoint, String provider) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.createDt = createDt;
		this.userType = userType;
		this.userAilas = userAilas;
		this.avatar = avatar;
		this.lastActivityDt = lastActivityDt;
		this.rankId = rankId;
		this.rankPoint = rankPoint;
		this.provider = provider;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserAilas() {
		return userAilas;
	}

	public void setUserAilas(String userAilas) {
		this.userAilas = userAilas;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getLastLoginDt() {
		return lastLoginDt;
	}

	public void setLastLoginDt(String lastLoginDt) {
		this.lastLoginDt = lastLoginDt;
	}

	public Date getLastActivityDt() {
		return lastActivityDt;
	}

	public void setLastActivityDt(Date lastActivityDt) {
		this.lastActivityDt = lastActivityDt;
	}

	public Integer getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getOrderCount() {
		return orderCount;
	}

	public void setOrderCount(Integer orderCount) {
		this.orderCount = orderCount;
	}

	public Integer getFavCount() {
		return favCount;
	}

	public void setFavCount(Integer favCount) {
		this.favCount = favCount;
	}

	public Integer getEcProductCount() {
		return ecProductCount;
	}

	public void setEcProductCount(Integer ecProductCount) {
		this.ecProductCount = ecProductCount;
	}

	public Integer getPointCount() {
		return pointCount;
	}

	public void setPointCount(Integer pointCount) {
		this.pointCount = pointCount;
	}

	public Integer getAllCount() {
		return allCount;
	}

	public void setAllCount(Integer allCount) {
		this.allCount = allCount;
	}

	public String getLastActivityDtStart() {
		return lastActivityDtStart;
	}

	public void setLastActivityDtStart(String lastActivityDtStart) {
		this.lastActivityDtStart = lastActivityDtStart;
	}

	public String getLastActivityDtEnd() {
		return lastActivityDtEnd;
	}

	public void setLastActivityDtEnd(String lastActivityDtEnd) {
		this.lastActivityDtEnd = lastActivityDtEnd;
	}

	public List<UserLinks> getUlks() {
		return ulks;
	}

	public void setUlks(List<UserLinks> ulks) {
		this.ulks = ulks;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public Long getRankPoint() {
		return rankPoint;
	}

	public void setRankPoint(Long rankPoint) {
		this.rankPoint = rankPoint;
	}

	public Short getRankId() {
		return rankId;
	}

	public void setRankId(Short rankId) {
		this.rankId = rankId;
	}

	public String[] getDeviceModel() {
		return deviceModel;
	}

	public void setDeviceModel(String[] deviceModel) {
		this.deviceModel = deviceModel;
	}

	public Integer getReplayCount() {
		return replayCount;
	}

	public void setReplayCount(Integer replayCount) {
		this.replayCount = replayCount;
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public Integer getActiviJoinCount() {
		return activiJoinCount;
	}

	public void setActiviJoinCount(Integer activiJoinCount) {
		this.activiJoinCount = activiJoinCount;
	}

	public Integer getEcFavCount() {
		return ecFavCount;
	}

	public void setEcFavCount(Integer ecFavCount) {
		this.ecFavCount = ecFavCount;
	}

	public Integer getEcOrderCount() {
		return ecOrderCount;
	}

	public void setEcOrderCount(Integer ecOrderCount) {
		this.ecOrderCount = ecOrderCount;
	}

	public String getProvider() {
		return provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public Boolean getNeUserAlias() {
		return !userName.equals(userAilas);
	}

	public List<Long> getUserIds() {
		return userIds;
	}

	public void setUserIds(List<Long> userIds) {
		this.userIds = userIds;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
